package com.ruoyi.gas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据单位字典对象 gas_data_unit_dict
 * 
 * @author ruoyi
 * @date 2023-12-11
 */
public class GasDataUnitDict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 字典编码 */
    private Long code;

    /** 字典名称 */
    @Excel(name = "字典名称")
    private String name;

    public void setCode(Long code) 
    {
        this.code = code;
    }

    public Long getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .toString();
    }
}
